 <div class="common_form"    >

			 <table cellpadding="0" >
				<tbody>

					<tr>
					<td>
						<div id="piclist">
							    <?php
                                    foreach ($row as $value) {
                                    	  echo '<div class="showpic" ><img src="http://images.ali213.net'.str_replace("584_","120X90_",$value).'" class="showimg" width="120" height="90"/><a href="javascript:void(0)" id="http://images.ali213.net'.$value.'"></a><span onclick="javascript:window.open(\'http://images.ali213.net'.str_replace("584_","",$value).'\')">查看原图</span></div>';
                                    }
							    ?>
                                 
						</div>
						
					</td>
					</tr>
				                    					
				</tbody>
			</table>
</div>
<style >
.showpic{float:left;margin-left:12px;display:inline-block;margin-top:10px;cursor:pointer;position:relative;}
.showpic a{width:100%;height:90px;position:absolute;z-index:5;left:0;background:url('/admin/ubutton/ubutton/assets/images/bg06.png') repeat;}
.showpic .active{background-color:#FFF;opacity:0.5;filter:alpha(opacity=50);}
.showpic span{width:100%;height:20px;line-height:20px;text-align:center;display:block;cursor:pointer;}
</style>
<script type="text/javascript">
          $(".showpic a").bind("click",function(){

          	        if($(this).attr("class")=="active"){
                        
                          $(this).attr("class","");

          	        }else{

          	        	  $(this).attr("class","active");
          	        }
          }); 
</script>